<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
		pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<html>
	<head>
		<title>Create new venue</title>
	</head>
	<body>
		<% 
			String venueId = "";
		try{ venueId = request.getParameter("venueId");} catch(Exception e) {} %>
			<html:form action="/registered/insertVenue">
				<label for="venueName">Venue name:</label>
				<html:text property="venueName" styleId="venueName" maxlength="30" />
				<span id="error" class="venue"><html:errors property="venueName" /></span> <br /> 
				<label for="venueAddress">Venue address:</label>
				<html:text property="venueAddress" styleId="venueAddress" maxlength="100" />
				<span id="error" class="venue"><html:errors property="venueAddress" /></span> <br />  
				<label for="venueDescription">Venue description:</label> <br />
				<html:textarea rows="2" cols="30" styleId="venueDescription" property="venueDescription"></html:textarea>
				<span id="error" class="venue"><html:errors property="venueDescription" /></span> <br /> 
				<label for="venueCapacity">Venue capacity:</label>
				<html:text property="venueCapacity" styleId="venueCapacity" />
				<span id="error" class="venue"><html:errors property="venueCapacity" /></span> <br />
				<html:hidden property="venueId" styleId="venueId" value="lol" style="<%= venueId %>" />				
			</html:form>
	</body>
</html>